package com.ricardoteix.subtitle.events {
	import com.ricardoteix.subtitle.SubtitleBlock;
	import flash.events.Event;
	
	/**
	 * ...
	 * @author Ricardo Teixeira
	 */
	public class FileParserEvent extends Event {
		
		public static const PARSE_COMPLETE:String = "FileParserEvent.PARSE_COMPLETE";
		
		private var _blocks:Vector.<SubtitleBlock>;
		
		public function FileParserEvent(type:String, blocks:Vector.<SubtitleBlock> = null, bubbles:Boolean = false, cancelable:Boolean = false) {
			super(type, bubbles, cancelable);
			this._blocks = blocks;
		}
		
		public function get blocks():Vector.<SubtitleBlock> { return _blocks; }
		
	}

}